// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import axios from 'axios'
import router from './router'

// 初始化样式及移动端适配
import './common/js/flexible-163'
import './assets/style/reset.css'
import './assets/style/iconfont.css'

// fastclick插件
import FastClick from 'fastclick'
FastClick.attach(document.body);

// swiper插件
import Swiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(Swiper)

// vueBus
import VueBus from './bus/vue-bus'
Vue.use(VueBus)

Vue.config.productionTip = false

Vue.prototype.axios = axios;

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})